<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
   <title>院级管理员</title>
		<link rel="shortcut icon" href="img/head.png" type="image/x-icon">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">

		<link rel="shortcut icon" href="img/head.png" type="image/x-icon">
    	<link rel="stylesheet" href="volunteer/super/bootstrap-3.4.1-dist/css/bootstrap.min.css">
   		<link rel="stylesheet" href="volunteer/super/layui/css/layui.css" media="all">
		

		
		<link rel="stylesheet" href="volunteer/admin/css/layui/css/layui.css" media="all">
        <link rel="stylesheet" href="volunteer/admin/css/biaoge.css">
        <link rel="stylesheet" href="volunteer/admin/css/quyu.css">
        

        
        <script type="text/javascript" src="js/xadmin.js"></script>
        <script src="volunteer/admin/css/layui/layui.js" charset="utf-8"></script>
        

        
    <style>
        .box1 {
            text-align: center;
            width: 100%;
            margin-top: 10px;
        }
    </style>
</head>

<body>

    <div class="layui-layout layui-layout-admin" style="margin-top:-10px">
        <div class="layui-header" style="margin-top:10px">
            <div class="layui-logo" style="width: 300px;margin-bottom:10px">
                <h3 style="margin-top:20px" >“抗疫”志愿者管理系统</h3>
            </div>
            <!-- 头部区域（可配合layui 已有的水平导航） -->
            <div class="left_open">
                <a><i class="layui-icon">&#xe668;</i></a>
            </div>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="volunteer/super/img/TBW.jpg" class="layui-nav-img">
                        院级管理员
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="">切换账号</a></dd>
                        <dd><a href="volunteer/Login&Register.jsp">退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">前台首页</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <div class="box1">
                    <img src="volunteer/super/img/TBW.jpg" alt="">
                </div>
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">

                    <li class="layui-nav-item"><a href="volunteer/admin/home.jsp"><i
                                class="layui-icon">&#xe68e;</i>&nbsp;&nbsp;主页</a></li>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a href="javascript:;"><i class="layui-icon">&#xe66f;</i>&nbsp;&nbsp;院级管理员管理</a>
                        <dl class="layui-nav-child">
                            <dd class="layui-this"><a href="SelectCollageAdmin">院级管理员列表</a></dd>
                            <dd><a href="SelectExamine">院级管理员审批</a></dd>
                             <dd><a href="SelectComment">用户评价</a></dd>
                             <dd><a href="SelectBlackList">院级管理员黑名单</a></dd>
  							<dd><a href="SelectHiddenComment">评论隐藏列表</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="layui-icon">&#xe653;</i>&nbsp;&nbsp;活动管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="SelectNotice">前台活动列表</a></dd>
                            <dd><a href="volunteer/super/AddNotice.jsp">志愿活动发布</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="layui-icon">&#xe67a;</i>&nbsp;&nbsp;物资管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="3-1.html">物资管理</a></dd>
                            <dd><a href="3-2.html">物资管理</a></dd>
                            <dd><a href="3-3.html">物资管理</a></dd>
                            <dd><a href="3-4.html">物资管理</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="7-1.html"><i class="layui-icon">&#xe60b;</i>&nbsp;&nbsp;个人中心</a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body" style="bottom: 0px;">
                   <ol class="breadcrumb">
                <li><a href="#">用户管理  / 院级管理员黑名单页面</a></li>

            </ol>

            <!-- 内容主体区域 -->
            <div style=" margin-top:-30px; background-color: #F6F6F6;">
                <div style="padding: 10px;padding-top: 10px; padding-bottom: 5px;">

                    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief" style="margin-top: 0px;">
                        <!-- <ul class="layui-tab-title">
                                <li class="layui-this">新增用户</li>
                                <li>删除用户</li>
                                <li>修改用户信息</li>
                            </ul> -->
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">



                            </div>

                        </div>

                    </div>

                </div>
                  <table align="center" style="margin-top: -30px;margin-left:20px" class="table table-striped  table-hover table-condensed table-responsive"><br>
	                <thead>
					<tr style="background-color: #003D79; color: #fff; ">
						<td>序号</td>
						<td>校级管理员用户名</td>
						<!--  <td>密码</td>-->
						<td>照片</td>
						<td>所属学院</td>
						<td>性别</td>
						<td>电话号码</td>
						<td>真实名字</td>
						
						<td>操作</td>
					</tr>
					<c:forEach items="${List}" var="a" varStatus="st">
			
			          <tr>
			          	<td >${st.index+1}</td>
			            <td >${a.username}</td>
			            <!--  <td type="hidden">${a.password}</td>-->
			            <td ><img src="volunteer/admin/${a.pricture}" width="100px" height="100px"></td>
			            <td >${a.uclass}</td>
			            <td >${a.sex}</td>
			            <td >${a.tel}</td>
			            <td >${a.realname}</td>
	
                            <!-- 启用禁用的滑块HTML代码 
                            <div class="switch checked" value="1" enabled="1" form-name="checkbox3">
                                <div class="icon tick"></div>
                                <div class="icon cross"></div>
                                <div class="slider checked"></div>
                            </div>
                             -->
               
			            <td>
			 
			            <a href="/Volunteer/SendBlackList?id=${a.id}">
			            <i class="bi bi-person-lock">
			            <button onclick="alert('确定将该院级管理员移除黑名单？')"  class="btn btn-danger" style="margin-top:0px">
    
			          移除黑名单</span></button></i></a> 

			            <!-- 
			            <a href="/Volunteer/UpdateCollageAdmin?id=${a.id}">
			             <i class="bi bi-person-lock">
			            <button onclick="alert('确定要重置该院级管理员的密码？')" class="btn btn-primary" style="margin-top:0px">
 
			           重置密码</button></i></a></td>
					 -->
			            	
			          </tr>
			        </c:forEach>
	  </tr>
                </tbody>
            </table>
                
            </div>

        </div>
       

    </div>

    <script>
        //JavaScript 代码区域
        layui.use('element', function () {
            var element = layui.element;

        });

        function check(st) {
            var a = document.getElementById("username" + st).value;
            var z = confirm("确定要禁封'" + a + "'吗?")
            if (z) {
                alert("禁封成功！");
                return true;
            } else {
                return false;
            }
        }
    </script>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?d214947968792b839fd669a4decaaffc";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();

        layui.use(['laydate', 'form'], function () {
        });
    </script>


</body>

</html>